oops... used the wrong ioctl for country code when checking it into cvs
authorFelix Fietkau <[email protected]>
Thu, 21 Jul 2005 15:47:22 +0000 (15:47 +0000)
committerFelix Fietkau <[email protected]>
Thu, 21 Jul 2005 15:47:22 +0000 (15:47 +0000)
SVN-Revision: 1520

openwrt/package/wificonf/Makefile
openwrt/package/wificonf/wificonf.c

index 95fbf9f2413ed6d5e7ee87c3c131b62c6d80b7e9..44ba0b4ceb632af31dcce6f0354e2e99d0b38165 100644 (file)
@@ -3,7 +3,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=wificonf
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/wificonf
 
index 24a9c2fe11a23fc37568eb8a6438f379d5da3391..404240e49c18013dabd374b738541fb2b98a1bf0 100644 (file)
@@ -180,7 +180,7 @@ void setup_bcom(int skfd, char *ifname)
        /* Set Country */
        strncpy(buf, nvram_safe_get(wl_var("country_code")), 4);
        buf[3] = 0;
-       bcom_ioctl(skfd, ifname, 273, buf, 4);
+       bcom_ioctl(skfd, ifname, WLC_SET_COUNTRY, buf, 4);
        
        /* Set up afterburner */
        val = ABO_AUTO;